/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import request from '@/utils/request';

// 获取app审核列表
export async function getAppCheckList(params: any) {
  return request('/Inn/getWindDeviceList', {
    method: 'POST',
    data: params,
  });
}

// 该驿站最近登录
export async function getAppCheckListByYz(params: any) {
  return request('/Inn/getLatelyLogin', {
    method: 'POST',
    data: params,
  });
}

// 该设备最近登录
export async function getAppCheckListByDevice(params: any) {
  return request('/Inn/getLatelyLoginByImei', {
    method: 'POST',
    data: params,
  });
}

// 忽略
export async function ignoreRequest(params: any) {
  return request('/Inn/ignore', {
    method: 'POST',
    data: params,
  });
}

// 解除限制
export async function unfreezeRequest(params: any) {
  return request('/Inn/unfreeze', {
    method: 'POST',
    data: params,
  });
}
